package com.nali.dal.dao;

import java.util.List;

import com.nali.dal.expression.ExpressionDto;
import com.nali.dal.expression.ExpressionValue;
import com.nali.dal.expression.operate.Modifier;
import com.nali.dal.expression.query.Criteria;

public interface IOperateDao {

	/**
	 * @return 更新数，如果无法得知返回-1
	 */
	int upsert(ExpressionDto<Criteria> query, List<ExpressionValue<Modifier>> modifiers, boolean upsert);

}
